home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group96a.txt
/
000175_icon-group-sender _Wed Aug 7 16:01:39 1996.msg
< prev
next >
Wrap
Internet Message Format
|
1996-09-05
|
1KB
Received: by cheltenham.cs.arizona.edu; Thu, 8 Aug 1996 08:31:26 MST
Message-Id: <199608072101.RAA26561@po_box.cig.mot.com>
Date: Wed, 7 Aug 1996 16:01:39 -0500
From: Tony J Yeates <yeates@cig.mot.com>
In-Reply-To: "Phillip L. Thomas" <ptho@loc.gov>
"Re: dos system call" (Aug 7, 10:56am)
References: <199608072030.QAA24305@po_box.cig.mot.com>
X-Mailer: Z-Mail (3.2.1 10apr95)
To: "Phillip L. Thomas" <ptho@loc.gov>,
Roger Sorrells <X041RS@tamvm1.tamu.edu>
Subject: Re: dos system call
Cc: icon-group@cs.arizona.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Errors-To: icon-group-errors@cs.arizona.edu
Status: O
On Aug 7, 10:56am, Phillip L. Thomas wrote:
>
> The system() call has another effect in DOS which is unfortunate:
> it calls up another copy of COMMAND.COM, meaning you've lost another
> 64K of critical memory in addition to the process you are trying
> to start. Most DOS C compilers have other ways (exec..) that do not
> invoke an addition COMMAND.COM, but this may again be C-compiler
> dependent.
This does not only apply to DOS, for UNIX each system() call will also invoke
a new shell (at least it does in C).
--
Tony Yeates Motorola Inc, CIG
Tel.: (847)-435-9803 1501 W Shure Dr. IL27-3227AR
FAX: (847)-632-2867 Arlington Heights, IL 60004 USA